package springboot.demo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class DemoController {

	@Value("${application.message:Hello World}")
	private String message = "Hello World";

	@RequestMapping("/home")
	public String demoHome() {
		return "home";
	}

}
